<?php

declare(strict_types=1);

namespace App\Model\WeChat;



/**
 * @property int $id 
 * @property int $site_id 站点id
 * @property int $type 类型
 * @property string $value 值
 * @property int $create_time 创建时间
 * @property int $update_time 修改时间
 * @property string $media_id 微信端返回的素材id
 */
class WechatMedia extends \App\Model\Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'wechat_media';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'site_id', 'type', 'value', 'create_time', 'update_time', 'media_id'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'site_id' => 'integer', 'type' => 'integer', 'create_time' => 'integer', 'update_time' => 'integer'];
}
